package com.cnpinxi.dao;

import com.cnpinxi.domain.DistributionRate;

import java.util.List;
import java.util.Map;

public interface DistributionRateMapper {
    int deleteByPrimaryKey(Integer tid);

    int insert(DistributionRate record);

    int insertSelective(DistributionRate record);

    DistributionRate selectByPrimaryKey(Map<String, String> map);

    int updateByPrimaryKeySelective(DistributionRate record);

    int updateByPrimaryKey(DistributionRate record);

    List<DistributionRate> getDistributionRateList(Map<String, String> map);

      DistributionRate getDistributionRateBysell(Integer sellAmount);
}